import logging
import os

print(os.getcwd())
logging.basicConfig(filename="../file/a.log",level=logging.DEBUG)
logging.debug("This is a debug log.")
logging.info("This is a info log.")
logging.warning("This is a warning log.")
logging.error("This is a error log.")
logging.critical("This is a critical log.")
